package net.goodapp.model;

import java.util.Collection;

import javax.sql.DataSource;

public class Configuration {
	/**
	 * 与数据库有关的DataSource配置信息
	 */
	private DataSource dataSource;
	/**
	 * 
	 */
	private Collection<TableInfo> tableInfos;
	/**
	 * 工作区根路径，即项目中的输出都是以此作为基点的
	 */
	private String workSpace;
	
	public DataSource getDataSource() {
		return dataSource;
	}
	public Collection<TableInfo> getTableInfos() {
		return tableInfos;
	}
	
	public String getWorkSpace() {
		return workSpace;
	}
	public void setDataSource(DataSource dataSource) {
		this.dataSource = dataSource;
	}
	
	public void setTableInfos(Collection<TableInfo> tableInfos) {
		this.tableInfos = tableInfos;
	}
	public void setWorkSpace(String workSpace) {
		this.workSpace = workSpace;
	}
}
